<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>

  <form action="/login" method="post">
      用户名 <input th:id="username" th:name="username" th:type="text" /><br/>
      密码 <input th:id="password" th:name="password" th:type="password" /><br/>
       <input th:type="submit">
  </form>


</body>
</html>